#include "VerifyGrpcClient.h"
#include "ConfigMgr.h"

VerifyGrpcClient::VerifyGrpcClient() {
    auto& gCfgMgr = ConfigMgr::Inst();
    std::string host = gCfgMgr["VerifyServer"]["Host"];
    std::string port = gCfgMgr["VerifyServer"]["Port"];
    std::cout << "VerifyGrpcClient host: [" << host << "], port: [" << port << "]" << std::endl;
    pool_.reset(new RPCConPool(5, host, port));
}